package com.lc.demo.mapper;

import com.lc.demo.bean.Admin;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @ClassName AdminMapper
 * @Deacription TODO
 * @Author jinshuhan
 * @Version 1.0
 **/


public interface AdminMapper {


    @Select("select * from admin where  username=#{username} and password=#{password}")
    Admin login(@Param("username") String username,@Param("password") String password);
}
